/*
** my_printf_funct.c for  in /home/gueux_g/projet/my_printf/bin
**
** Made by gueux-g
** Login   <gueux_g@epitech.net>
**
** Started on  Sun Nov 18 09:21:57 2012 gueux-g
** Last update Sun Nov 18 16:45:10 2012 gueux-g
*/

#include	<stdio.h>
#include	<stdarg.h>

va_list		my_nbr(va_list ap)
{
  my_putnbr_base(va_arg(ap, int), "0123456789");
  return (ap);
}

va_list		my_deca(va_list ap)
{
  my_putnbr_base(va_arg(ap, unsigned int), "0123456789");
  return (ap);
}

va_list		my_binarie(va_list ap)
{
  my_putnbr_base(va_arg(ap, unsigned int), "01");
  return (ap);
}

va_list		my_octal(va_list ap)
{
  my_putnbr_base(va_arg(ap, unsigned int), "01234567");
  return (ap);
}

va_list		my_mini_hexa(va_list ap)
{
  my_putnbr_base(va_arg(ap, unsigned int), "0123456789abcdef");
  return (ap);
}
